package com.lin.spring.aop;

import org.springframework.stereotype.Component;

/**
 * @ClassName accountService
 * @Description accountService
 * @Author lin
 * @Date 2021/11/7 下午10:46
 * @Version V1.0
 */
@Component
public class AccountService {

    public void accountSave(){
        // int i = 5/0;
        System.out.println("客户来存钱了");
    }
    public String accountTake(){
        System.out.println("客户来拿钱了");
        return "money";
    }
}
